USE [NGSPaintsDB]
GO

/****** Object:  Table [dbo].[tSale]    Script Date: 06/26/2013 19:13:50 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

SET ANSI_PADDING ON
GO

CREATE TABLE [dbo].[tSale](
	[SaleID] [int] IDENTITY(1,1) NOT NULL,
	[SeqSaleID] [varchar](20) NULL,
	[PartyCode] [int] NULL,
	[SaleDate] [datetime] NULL,
	[PromoterID] [int] NULL,
	[SiteID] [int] NULL,
	[Amount] [float] NULL,
	[TotalTaxes] [float] NULL,
	[Discount] [float] NULL,
	[GrossAmount] [float] NULL,
	[ShipingAddress] [varchar](120) NULL,
	[Status] [int] NULL,
	[CU] [varchar](10) NULL,
	[CD] [datetime] NULL,
	[LU] [varchar](10) NULL,
	[LD] [datetime] NULL,
	[FinYrID] [int] NULL,
	[SaleType] [int] NULL,
 CONSTRAINT [PK_tSale] PRIMARY KEY CLUSTERED 
(
	[SaleID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

SET ANSI_PADDING OFF
GO

